package com.ycz.controller;/*
 @author ycz
 @date 2021-11-12-18:57
*/

import com.ycz.common.Result;
import com.ycz.query.EmpMaintainerQuery;
import com.ycz.service.EmpMaintainerService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.models.auth.In;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RequestMapping("/emp")
@RestController
@Api("维修工表")
public class EmpMaintainerController {

    @Autowired
    private EmpMaintainerService empMaintainerService;

    @RequestMapping("/page.do")
    @ApiOperation("维修工list")
    public Result list(EmpMaintainerQuery query){
        System.out.println(query);
        return empMaintainerService.selectList(query);

    }




}
